package com.jackiechancinema.ssm.controller;

import com.jackiechancinema.ssm.bo.OrderDateBO;
import com.jackiechancinema.ssm.entity.OrderDate;
import com.jackiechancinema.ssm.service.Inte.OrderDateService;
import com.jackiechancinema.ssm.vo.PageVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/orderDate/")
public class OrderDateController {
    @Autowired
    OrderDateService orderDateService;
    @GetMapping("page")
    public PageVo<OrderDate> page(OrderDateBO orderDateBO){
        return orderDateService.page(orderDateBO);
    }

}
